img{
    transition: 1s;
    height: 150px;
}
img:hover{
    transform: rotate(360deg);
}